<?xml version="1.0" encoding="utf-8"?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Steps>
    <Step>
      <Information>
        <ShouldAutoContinue>false</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Load the bootloader</Description>
        <Instructions>1.) Download and save any prior test results stored in the instruments memory as these are deleted as part of the flashing process.
2.) Connect a PC to the instrument with the original supplied serial cable.
3.) Select the COM port to which serial cable is connected to.
4.) If connected, disconnect the charger.
5.) On instrument hold down UP and MEM keys and turn ON the instrument (or connect charger).
6.) Press CONTINUE button on the PC-SW.
7.) Wait until the instrument's firmware is updated.
8.) Run initial settings from the instruments menu.
9.) Clear all memory.
</Instructions>
        <ProtocolSettings>
          <ProtocolType>Lpc2xxxIsp</ProtocolType>
          <BaudRate>19200</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
        </ProtocolSettings>
        <TargetSettings>
          <MemoryMapSettings>
            <HexFileName>Lpc2148Mbl.hex</HexFileName>
            <StartAddress>1073742336</StartAddress>
            <EndAddress>1073758720</EndAddress>
            <BlockSize>1024</BlockSize>
            <RowSize>4</RowSize>
          </MemoryMapSettings>
          <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
          <CrystalFrequency>12000</CrystalFrequency>
        </TargetSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <BufferAddress>1073742336</BufferAddress>
            <MaxBufferLength>1024</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>true</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Address>1073742336</Address>
            <ExecutionMode>Arm</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>0</StartAddress>
            <EndAddress>1</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
    <Step>
      <Information>
        <ShouldAutoContinue>true</ShouldAutoContinue>
      </Information>
      <Operation>
        <Description>Loads the firmware</Description>
        <Instructions>FlashMe will now upload the firmware to the target instrument. Wait until the instrument's firmware is updated.</Instructions>
        <ProtocolSettings>
          <ProtocolType>MetrelBootLoader</ProtocolType>
          <BaudRate>57600</BaudRate>
          <AlreadyInitialized>false</AlreadyInitialized>
          <DestinationDistance>1</DestinationDistance>
        </ProtocolSettings>
        <TargetSettings>
          <MemoryMapSettings>
            <HexFileName>MI3108.hex</HexFileName>
            <StartAddress>0</StartAddress>
            <EndAddress>512000</EndAddress>
            <BlockSize>4096</BlockSize>
            <RowSize>25</RowSize>
          </MemoryMapSettings>
          <FlashDeviceFileName>Lpc2148.fmd</FlashDeviceFileName>
          <CrystalFrequency>60000</CrystalFrequency>
        </TargetSettings>
        <OperationsSettings>
          <EraseFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseFlashOperationSettings>
          <EraseExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <EraseTypes>EraseAll</EraseTypes>
          </EraseExternalFlashOperationSettings>
          <ProgramFlashOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <BufferAddress>1073742336</BufferAddress>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramFlashOperationSettings>
          <ProgramExternalFlashOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <MaxBufferLength>4096</MaxBufferLength>
          </ProgramExternalFlashOperationSettings>
          <ProgramRamOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </ProgramRamOperationSettings>
          <ExecuteOperationSettings>
            <ShouldExecute>false</ShouldExecute>
            <Address>0</Address>
            <ExecutionMode>Arm</ExecutionMode>
          </ExecuteOperationSettings>
          <CheckSumOperationSettings>
            <ShouldExecute>true</ShouldExecute>
            <Mode>Whole</Mode>
            <StartAddress>64</StartAddress>
            <EndAddress>511999</EndAddress>
          </CheckSumOperationSettings>
          <SimonCheckSumOperationSettings>
            <ShouldExecute>false</ShouldExecute>
          </SimonCheckSumOperationSettings>
          <ResetOperationSettings>
            <ShouldExecute>true</ShouldExecute>
          </ResetOperationSettings>
        </OperationsSettings>
      </Operation>
    </Step>
  </Steps>
</Project>